Audio stem identification systems and methods

ABSTRACT

Methods, systems and computer program products are provided for determining acoustic feature vectors of query and target items in a first vector space, and mapping the acoustic feature vectors to a second vector space having a lower dimension. The distribution of vectors in the second vector space can then be used to identify items from the same songs, and/or items that are complementary. A mapping function is trained using a machine learning algorithm, such that complementary audio items are closer in the second vector space than the first, according to a given distance metric.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is Continuation of U.S. patent application Ser. No.16/575,926, filed 19 Sep. 2019, and which application is incorporatedherein by reference. To the extent appropriate, a claim of priority ismade to the above disclosed application.

TECHNICAL FIELD

Example aspects described herein generally relate to identification ofmusical audio files, and more particularly to an audio stem identifierand methods for audio stem identification.

BACKGROUND

In digital music, songs are often made up of an assembly of variouspreexisting and/or new audio stems. An audio stem is a discrete orgrouped collection of audio sources mixed together to be dealt withdownstream as one unit. For instance stems may consist of all of thestring instruments, a full orchestra, just background vocals, only thepercussion instruments, a single drum set, or any other grouping ofaudio sources that make up a music track. Stems prepared in this fashionmay be blended together to form a music track. The arrangement of thestems and the stems themselves can be modified using various audiomanipulation tools such as mixers. Stem-mixers, for example, are used tomix audio material based on creating groups of audio tracks andprocessing them separately prior to combining them into a final mastermix. Stems are also sometimes referred to as submixes or subgroups.

Audio stems can be stored, for example in a database. Such a stemdatabase of audio stems can be built by collecting songs made from aninitial database of stems which keeps growing. It can also be built orpopulated by source separation on existing songs (e.g., a catalogue ofsongs from a media distribution service).

One technical problem that arises relates to determining which audiostems in the stem database have been used to make a music track. Thisproblem becomes more apparent as the stem database grows as users cannotlisten to all the stems in the database to determine which stems havebeen used.

Solutions currently offered to creators include services such as Splice,or within DAWs (i.e. Digital Audio Workstation) like Apple Logic orAbleton Live are based on a search which is powered by tags. However,there exists no known technical solution to the above-describedidentification problem.

Accordingly, given a database of audio content including stems and/orcombinations of stems, a user may wish to find which of the audiostem(s) in the stem database have been used to make a music track uponproviding a query.

SUMMARY

In one embodiment, stems obtained from plural songs are fed into amachine learning processor to train a model. The trained model, in turn,is used to predict a stem from a stem database that has a probability ofbeing related to input stem(s). The output can be in the form of one ormore probability vectors, each probability vector indicating aprobability that a new stem is related.

In accordance with other embodiments, instead of identifying only stemsthat have been used, an audio similarity algorithm first finds otheraudio stems that sound similar to the proposed stems. This extendsconsiderably the choice proposed to the user and ensures that the systemidentifies all possible stems that could have been used, and not just asingle option.

In some embodiments, identifications based on a lead sheet (and asimilarity measure between lead sheets or chord sequences or melodies)are provided.

In an example embodiment there is provided a method for identifying anaudio stem. The method includes storing, on a stem database, a pluralityof audio stems (t₁, . . . , t_(N)); storing, on a song database, aplurality of songs (S₁, . . . , S_(P)) made with at least a subset ofthe plurality of the audio stems (t₁, . . . , t_(N)); receiving an atleast partially composed song (S*)/a query audio stem having apredetermined number of pre-selected stems (k); and producing aprobability vector (or relevance value or ranking) for each stem (t₁, .. . , t_(N)) to be related to the at least partially composed song (S*).

In some embodiments, the method further includes predicting, using atrained machine learning model, at least one stem from the stem databasehaving a probability value above a predetermined threshold, therebydefining the at least one stem as being complementary to thepredetermined number of preselected stems(k).

In some embodiments, the method further includes training, using amachine learning processor, the machine learning model based on any oneof (i) a measure of success of a stem, (ii) a rank order of sociometricstatus values corresponding to a plurality of songs including at leastthe stem, (iii) a plurality of stems obtained from plural songs, or anycombination of (i), (ii) and (iii).

In some embodiments, the method further includes, for each audio stem(t) of the plurality of audio stems (t₁, . . . , t_(N)): initializing acorresponding relevance value (R₁, . . . , R_(N)) to zero; for each song(S) of the plurality of songs (S₁, . . . , S_(P)) containing at leastone of the audio stems (t₁, . . . , t_(N)): computing, using asimilarity function, a similarity value of the song (S) to the at leastpartially composed song (S*); determining, using a quantitativesociometric function, a sociometric status value of the song (S); andcomputing the probability vector (or ranking or relevance value) basedon the similarity value and the sociometric status value.

In some embodiments, similarity function is based on a cosine function,and in some embodiments, the quantitative sociometric function is basedon a number of streams of the song (S).

In some embodiments, at least one of the pre-selected stems (k) is notin the stem database.

In some embodiments, at least one of the pre-selected stems (k) is inthe stem database.

In some embodiments, the method further includes determining at leastone of the plurality of stems (t₁, . . . , t_(N)) having a relevancevalue greater than a predetermined threshold.

In some embodiments, the method further includes determining a distancebetween two songs d_(cos)(s,s′) by calculating a cosine distance betweenvectors, wherein s is song vector according to s∈{0,1}^(N), wherein s isa vector with a value of one (1) at position i if stem t_(i) is used ins; receiving an audio similarity measure between audio stems, such thata distance for any two stems is according to d_(audio)(ti,tj)∈[0,1];determining a distance between songs, based on d_(audio) by defining,first, a distance between a song and a stem, according to: d_(audio)(s,t_(i))=min{d_(audio)(t_(i),t_(j)), for t_(j)∈s}; and determining adistance between two songs (s,s′) according to:d_(audio)(s,s′)=avg_(t′∈s′) d_(audio)(s,t′).

In another embodiment, a stem identification system is provided. Thestem identification system includes a stem database configured to storea plurality of audio stems (t₁, . . . , t_(N)); a song databaseconfigured to store a plurality of songs (S₁, . . . , S_(P)) made withat least a subset of the plurality of the audio stems (t₁, . . . ,t_(N)); and a stem processor configured to: receive an at leastpartially composed song (S*) having a predetermined number ofpre-selected stems (k), and produce a probability vector (or relevancevalue or ranking) for each stem (t₁, . . . , t_(N)) to be complementaryto the at least partially composed song (S*).

In some embodiments, the stem processor is further configured to:predict, using a trained machine learning model, at least one stem fromthe stem database having a probability value above a predeterminedthreshold, thereby defining the at least one stem as being complementaryto the predetermined number of preselected stems(k).

In some embodiments, the stem identification system further includes amachine learning processor configured to train the machine learningmodel based on any one of (i) a measure of success of a stem, (ii) arank order of sociometric status values corresponding to a plurality ofsongs including at least the stem, (iii) a plurality of stems obtainedfrom plural songs, or any combination of (i), (ii) and (iii).

In some embodiments, the stem processor is further configured to: foreach audio stem (t) of the plurality of audio stems (t₁, . . . , t_(N)):

initialize a corresponding relevance value (R₁, . . . , R_(N)) to zero;

for each song (S) of the plurality of songs (S₁, . . . , S_(P))containing at least one of the audio stems (t₁, . . . , t_(N)):

compute, using a similarity function, a similarity value of the song (S)to the at least partially composed song (S*);

determine, using a sociometric status function, a sociometric statusvalue of the song (S); and

compute the probability vector (or ranking or relevance value) based onthe similarity value and the sociometric value.

In some embodiments, the similarity function is based on a cosinefunction.

In some embodiments, the quantitative sociometric function is based on anumber of streams of the song (S).

In some embodiments, at least one of the pre-selected stems (k) is notin the stem database.

In some embodiments, at least one of the pre-selected stems (k) is inthe stem database.

In some embodiments, the stem processor is further configured todetermine at least one of the plurality of stems (t₁, . . . , t_(N))having a relevance value greater than a predetermined threshold.

In some embodiments, the stem processor is further configured to:

determine a distance between two songs d_(cos)(s,s′) by calculating acosine distance between vectors, wherein s is song vector according tos∈{0,1}^(N), wherein s is a vector with a value of one (1) at position iif stem t_(i) is used in s;

receive an audio similarity measure between audio stems, such that adistance for any two stems is according to d_(audio)(ti,tj)∈[0,1];

determine a distance between songs, based on d_(audio) by defining,first, a distance between a song and a stem, according to:

-   -   d_(audio)(s, t_(i))=min{d_(audio)(t_(i),t_(j)), for t_(j)∈s};        and

determine a distance between two songs (s,s′) according to:

-   -   d_(audio)(s,s′)=avg _(t′∈s′)d_(audio)(s,t′).

Example aspects also include methods, systems and computer programproducts for determining acoustic feature vectors of query and targetitems in a first vector space, and mapping the acoustic feature vectorsto a second vector space having a lower dimension. The distribution ofvectors in the second vector space can then be used to identify itemsfrom the same songs, and/or items that are complementary. This can beachieved by training a mapping function using a machine learningalgorithm, such that complementary audio items are closer in the secondvector space than the first, according to a given distance metric. Inthis way, complementary items can be more easily identified. The lowerdimensionality of the second vector space allows the identification tobe performed more efficiently.

In yet another example embodiment, a non-transitory computer-readablemedium having stored thereon one or more sequences of instructions forcausing one or more processors to perform the methods described hereinis provided.

BRIEF DESCRIPTION OF THE DRAWINGS

The features and advantages of the example embodiments of the inventionpresented herein will become more apparent from the detailed descriptionset forth below when taken in conjunction with the following drawings.

FIG. 1 illustrates an audio stem identification system in accordancewith an example embodiment of the present invention.

FIG. 2 illustrates a stem identification process utilizing collaborativefiltering according to an example embodiment of the present invention.

FIG. 3 illustrates a stem identification process utilizing audiosimilarity according to an example embodiment of the present invention.

FIG. 4 illustrates a stem identification process utilizing machinelearning according to an example embodiment of the present invention.

FIG. 5 illustrates an example stem identification system in accordancewith an embodiment of the present invention.

FIG. 6 illustrates a mapping of stems of songs in an original vectorspace into a second space (with reduced dimensionality) in accordancewith an example embodiment of the present invention.

FIG. 7 illustrates an example query and an identified stem in a reducedvector space in accordance with an example implementation.

FIG. 8 depicts a block diagram of a network that performs the mappingbetween an input acoustic feature vector (x) in space X, to the space Y,according to an embodiment of the present invention.

FIG. 9 depicts a Siamese Network which is used to estimate suchparameters, according to an embodiment of the present invention.

FIG. 10 illustrates how parameters θ of a network are learned using aloss function (L) in accordance with an example embodiment of thepresent invention.

DETAILED DESCRIPTION

The example embodiments of the invention presented herein are directedto methods, systems and computer program products for providing stemidentification. This description is not intended to limit theapplication of the example embodiments presented herein. In fact, afterreading the following description, it will be apparent to one skilled inthe relevant art(s) how to implement the following example embodimentsin alternative embodiments (e.g., as a dedicated hardware device,domains other than audio, such as video and multimedia podcasts). Inaddition, while the example embodiments are described in terms of audiostems, it should be understood that the same techniques can apply tolead sheets that can be converted into audio stems. A media content itemis an item of media content, including audio, video, or other types ofmedia content, which may be stored in any format suitable for storingmedia content. Non-limiting examples of media content items includesongs, music, albums, audiobooks, music videos, movies, televisionepisodes, podcasts, other types of audio or video content, and portionsor combinations thereof.

Generally, in one example implementation, collaborative filtering (CF)and audio similarity (AS) are used as mechanisms for identifying audiostems. Collaborative filtering is a method of making automaticpredictions (filtering) about the interests of a user by collectingpreferences or taste information from many users (collaborating). Audiosimilarity is a method of measuring the similarity between audio samplesfrom their waveforms.

In some embodiments, identifying audio stems involves defining a measuresuccess for groups of audio stems which have already been used, andranking individual audio stems based on a rank order of sociometricstatus values corresponding to a plurality of songs including one ormore of the audio stems.

The identification can be purely content-based (one audio stemcomplements other proposed audio stems), or personalized (an audio stemcomplements other proposed audio stems, given what is known about acomposition history metrics of a particular composer). For example, acomposer may gravitate towards more unusual sounds, complex rhythmicpatterns, or rich harmonies. Such attributes can be used to filterproposed audio stems. Ranking can be weighted by a set of underlying orexposed metrics, such as acoustic properties, quantitative sociometrics,uniqueness, etc.

In another example implementation, acoustic feature vectors of query andtarget items in a first vector space are determined. The acousticfeature vectors are mapped to a second vector space having a lowerdimension. In turn, the distribution of vectors in the second vectorspace can then be used to identify items from the same songs, and/oritems that are complementary. This can be achieved by training a mappingfunction using a machine learning algorithm, such that complementaryaudio items are closer in the second vector space than the first,according to a given distance metric. In this way, complementary itemscan be more easily identified. The lower dimensionality of the secondvector space allows the identification to be performed more efficiently.

FIG. 1 illustrates an audio stem identification system 100 in accordancewith an example embodiment of the present invention. A stemidentification processor 102 is communicatively coupled to one or moredatabases. In one example embodiment, stem identification processor 102is coupled to an audio stem database 104. In some embodiments, stemidentification processor 102 is coupled to a song database 106. And insome embodiments, stem identification processor 102 is coupled to acomposition history metrics database 108.

Audio stem database 104 is arranged to store plural audio stems. In someembodiments, audio stem database 104 stores audio stems in an encodedformat (e.g., .wav, .mp3, .m4a, .ogg, .wma, etc). One or more audiostems that are stored on the audio stem database 104 can be retrievedand inserted into a song during a song creation process. In someembodiments, other audio stems are retrieved from other sources vianetwork 110 or local source such as a memory store or a stem creationapplication (not shown). Song database 106 may be employed to storesongs produced using stems. In some embodiments, song database 106 isbuilt progressively by collecting songs that are produced using thestems stored in audio stem database 104.

Composition history metrics database 108 stores records associated withcomposers. Particularly composition history metrics database 108 storesrecords identifying attributes associated with a composition historymetrics of a composer. For example, composition history metrics database108 can be configured to store records identifying the types of sounds,rhythmic patterns, harmonies, and the like, that a composer typicallyuses. In some embodiments, composition history metrics database 108stores rankings that are weighted by a set of composition metrics. Inone implementation, the composition metrics include data representingacoustic properties, sociometric ranking values, uniqueness values, andthe like.

An audio stem use record can be maintained as well. In some embodimentsan audio stem use record is maintained in a database such as the audiostem database 104. The audio stem record of each audio stem is used tomaintain a record of which stems have been retrieved from audio stemdatabase 104 to create a song that is stored in the song database 106.Thus, for each of the songs in the song database, which audio stems havebeen used is known.

In some embodiments, stem identification processor 102 iscommunicatively coupled to a media distribution service 114 thatincludes a music distribution server 116 arranged to distribute mediacontent items and a media content database 118 that stores the mediacontent items. The media distribution service 114 can provide streams ofmedia content or media content items for downloading to stemidentification processor 102.

Thus audio stem database 104 can be built or populated in differentways. In one embodiment, stem identification processor 102 performssource separation on the media content items to separate from the songsthe individual stems that, when mixed, form the song.

In some embodiments, the audio stems including their respectiveattributes are encoded and stored in audio stem database 104 for laterprocessing.

Song database 106 is built by progressively collecting songs that areproduced using stems retrieved from audio stem database 104.

One technical challenge involves identifying a stem to a user during theproduction process based on audio stems already selected for a songbeing produced. Another technical challenge involves identifying a stemto a user during the production process where no stems that have beenpre-stored in audio stem database 104 have been used. These technicalproblems become more challenging as the audio stem database 104 grows,as users cannot listen to all the stems to make their choice. As aconsequence, identifying an audio stem for combining with existing audiostems becomes a significant technical challenge.

In an example implementation, stem identification processor 102 receivesa partially composed media content item (e.g., a song) in the form of aset of stems to be mixed by a client device executing an audio editorapplication 112 (referred to simply as audio editor 112). In someexamples the partially media content item is in the form of acomposition expressed on a lead sheet encoded in a music interchangeformat.

In some embodiments, stem identification processor 102 includes at leastone processor and a non-transitory memory storing instructions. When theinstructions are executed by the processor(s), the processor(s) performsthe functions described herein for stem identification.

Example Stem Identification Using Collaborative Filtering

FIG. 2 illustrates a stem identification process 200 according to anexample embodiment of the present invention. In this example embodiment,stem identification is based on collaborative filtering (CF). The stemidentification process 200 can be stored as instructions in anon-transitory computer readable medium that when executed by a stemprocessor (e.g., stem processor 410 described below in connection withFIG. 4) cause the stem processor to perform process 200.

Generally, users generate media content items (e.g., via an audio editor112) by assembling a group of audio stems. The assembled group of stemsare sometimes herein referred to as pre-selected group of stems, simplyselected group of stems, k selected audio stem(s), or t-selected(t-selected₁, t-selected₂, . . . , t-selected_(k), where k is aninteger). If any of the songs in song database 106 that has the selectedgroup of audio stems have relatively high quantitative sociometricvalues associated with them, this is indicative that the selected groupof audio stems was successfully launched, a determination is made thatthe selected group of audio stems may correspond to a new group of audiostems in the song (i.e., the song from song database 106). The measureof success can be any known or future developed measure of success. Forexample a measure of success can be based on a number of streams of asong containing the corresponding group of stems through mediadistribution service 114. This may be the case, for example, in acertain context, such as a playlist in a given music genre. In anexample embodiment, for instance, only the playlists in the given musicgenre are considered to compute a streaming count.

Referring to FIG. 2, in this example, there is provided an audio stemdatabase 104 storing individual stems t (t₁, t₂, . . . , t_(N), where Nis an integer). There is also provided a song database 106 containingsongs S (S₁, S₂, . . . , S_(P), where P is an integer) made with stemst. Stems t are available to be retrieved by using a stem processorexecuting stem identification process 200.

In an example implementation, S* represents a new song, where k selectedaudio stem(s) t-selected (t-selected₁, t-selected₂, . . . ,t-selected_(k)), have been pre-selected to be included in the new songS*. Stem identification processor 102 identifies one or more new audiostems t-new (t-new₁, t-new₂, . . . , t-new_(n), where n is an integer)as follows.

In block S202, each of the k selected audio stem(s) (t-selected₁,t-selected₂, . . . , t-selected_(k)) are received. In turn, each of thek selected audio stems (t-selected) are processed to determine if thereexists one or more corresponding new audio stem(s) t-new (t-new₁,t-new₂, . . . , t-new_(n), where n is an integer) in audio stem database104. In some embodiments, new audio stems t-new are in audio stemdatabase 104 which contains stems t (t₁, t₂, . . . , t_(N), where N isan integer).

The new audio stem(s) t-new can be of a certain type (e.g. a guitarstem, drum stem, and the like), correspondingly. In some exampleembodiments, a corresponding new audio stem t-new is determined by usinga collaborative filtering (CF) algorithm applied to an existing song S(S₁, S₂, . . . , S_(P), where P is an integer) stored in song database106. As a result of CF, one or more stems that was already usedsuccessfully in existing songs Sin song database 106 (i.e., new audiostem(s) t-new) is identified. In this example, the identification isbased on a relevance computation process S204, S206, S208 as follows.

In block S204, for each stem t (t₁, t₂, . . . , t_(N)) in the audio stemdatabase 104, a variable relevance is initialized to 0 (i.e.,relevance←0).

In block S206, for each song S_(i) in the audio stem database 104, wherei is an integer, and which contains the k selected stem(s) t-selected(t-selected₁, t-selected₂, . . . , t-selected_(k)), a relevance value iscalculated according to the following equation (1):

$\begin{matrix}{{relevance}+={{similarity}\mspace{14mu}( {S_{i},S^{*}} ) \times {sociometric}\mspace{14mu}( S_{i} )}} & (1)\end{matrix}$

In block S208, the computed relevance value (i.e., relevance) is, inturn, used to rank each stem t (t₁, t₂, . . . , t_(N)) in the audio stemdatabase 104 that are contained in songs S_(i) to generate N-rankedstems t-ranked (t-ranked₁, t-ranked₂, . . . , t-ranked_(N), where N isan integer). In turn, n new stem(s) t-new (t-new₁, t-new₂, . . . ,t-new_(n), where n is an integer) are selected from the ranked stemst-ranked_(N) based on the stems with highest relevance. In someembodiments, the n new stems t-new do not include the k selected stem(s)t-selected. In an example implementation, the pre-selected stemst-selected are filtered from the ranked stems t-ranked_(N).

The similarity function, similarity( ), can be defined in several ways.In an example embodiment, the similarity function, similarity( ), is thecosine distance between the two songs, represented in the stem space,where the distance between two songs dcos(s,s′) is the cosine distancebetween vectors representing the song s and song s′. This, in thisexample implementation, song similarity is purely based on stems. If,for instance, two songs use the same stems for Bass, Drum and Guitar,and differ only in that one song (and not the other) uses a Piano stem,they will be considered very similar. On the contrary, if the two songsdo not have any stem in common, they will be considered very dissimilar.This is regardless of the audio similarity.

In another example embodiment, however, audio similarity between stemscould be used instead of simply checking stem identity.

In some embodiments, the process involves computing a tradeoffbetween 1) the number of songs in audio stem database 104 S (S₁, S₂, . .. , S_(P), where P is an integer) in which a given stem to identifyappears together with the k selected audio stems that have beenpre-selected for the new song S*, and 2) the rank order of sociometricvalues of the songs computing by the quantitative sociometric functionsociometric( ). In an example implementation, the identificationprocedure is analogous to a collaborative filtering (CF) identificationused to identify songs (e.g., if people who like songs X and Y also likesong Z, then a listener who likes X and Y should be identified Z). Heresongs are replaced by stems: if many songs with stems X and Y use alsostem Z, then if a new song already uses X and Y, we should identify Z.Function sociometric( ) counts the number of streams of a given song.

Example Stem Identification Using Audio Similarity

FIG. 3 illustrates a stem identification process 300 according to anexample embodiment of the present invention. The stem identificationprocess 300 can be stored as instructions in a non-transitory computerreadable medium that when executed by a stem processor (e.g., stemprocessor 410 described below in connection with FIG. 4) cause the stemprocessor to perform process 300. In this example embodiment, stemidentification is performed by using an audio similarity (AS) algorithmto find other audio stems that sound similar to the proposed stems.

In some example embodiments, stems are identified by using both an audiosimilarity algorithm that finds other audio stems that sound similar tothe proposed stems as well as the collaborative filtering audio stemidentification technique discussed above in connection with FIG. 2. Thisextends considerably the stems that can be identified for a user via,for example, an audio editor 112 and advantageously produces a varietyof new stems.

Audio similarity (AS) can be computed by various means now known orfuture developed. In an example embodiment, a Gaussian Mixture Model(GMM) of the Mel Frequency Cepstral Coefficients (MFCC) for each stem iscomputed. Then the models are compared, for instance, by Monte Carloestimation. This comparison yields a timbre similarity (also calledaudio similarity). In some embodiments, audio features other than theMFCC coefficients can be considered.

Generally, users generate media content items (e.g., songs) using anediting tool such as an audio editor 112 by assembling a group of audiostems. The assembled group of stems are sometimes herein referred to aspre-selected group of stems, simply selected group of stems, k selectedaudio stem(s), or t-selected (t-selected₁, t-selected₂, . . . ,t-selected_(k), where k is an integer).

In block S302, each of the k selected audio stem(s) t-selected(t-selected₁, t-selected₂, . . . , t-selected_(k)) is received. In turnthe k selected audio stems t are processed to determine if there existsone or more (n) corresponding new audio stems t-new (t-new₁, t-new₂, . .. , t-new_(n), where n is an integer) in audio stem database 104. Thenew audio stem(s) t-new can be of a certain type (e.g. a guitar stem,drum stem, and the like), correspondingly.

In some embodiments, a ranking measure for an audio stem is performed bydefining an audio similarity function audio_similarity( ), as shown inblock S304. Audio similarity function audio_similarity( ) determines thesimilarity between two (2) stems stem t and stem t′.

In some embodiments, parameters are added to this function, where theparameters are tuned on a test database (not shown).

In an example embodiment, given stems t (t₁, t₂, . . . , t_(N)), songs∈{0,1}^(N) is a vector with value one (1) at position i if stem t_(i)is used in song s, where i and N are integers. In an example embodiment,s represents songs in the audio stem database 104 S (S₁, S₂, . . . ,S_(P), where P is an integer).

The distance between two song vectors, song vector s and song vector s′,is the cosine distance between the two vectors, e.g., d cos(s,s′).

In the case where there exists an audio similarity measure between stemsstem ti and stem t_(j), and therefore a distance between stemsd_(audio)(t_(i),t_(j)) ∈ [0,1], for any two stems, in block S306, thereis defined a distance between songs, based on d_(audio) by defining adistance between a song and a stem (S308) according to the followingequation (2):

d _(audio)(s, t _(i))=min{d _(audio)(t _(i) ,t _(j)), for t _(j) ∈s},  (2)

and a distance between two songs according to the following equation (3)(S310):

$\begin{matrix}{{{d_{audio}( {s,s^{\prime}} )} = {{avgt}^{\prime} \in {s^{\prime}{d_{audio}( {s,t^{\prime}} )}}}},} & (3)\end{matrix}$

where i, j are integers, s and s′ represent songs vectors (e.g., songvector s and song vector s′), and t and t′ represent two stem vectors,where s represents songs in the audio stem database 104 S (S₁, S₂, . . ., S_(P), where P is an integer).

In block S312, process 200 described above in connection with FIG. 2 isperformed.

In an alternative embodiment, stem identification is based on lead sheetsimilarity, e.g., if the lead sheet of song X is similar to the leadsheet of an existing song, stems used in the existing song areidentified. The lead sheets could be either known in advance orextracted automatically.

Example Stem Identification Using Machine Learning

FIG. 4 illustrates a stem identification process utilizing machinelearning according to an example embodiment of the present invention. Asshown in FIG. 4, audio stem database 104 can be built or populated indifferent ways. In one embodiment, a source separation processor 404performs source separation on the media content items stored in songdatabase 106. Particularly, source separation processor 404 separatesfrom the songs in song database 106 the individual stems that, whenmixed, form the song.

In another example embodiment, stems need not come from a sourceseparation process. In this embodiment, the stems are stems derived fromexisting multitrack recordings.

In turn, source separation processor 404 feeds the stems to audio stemdatabase 104. Audio stem database 104 is arranged to store plural audiostems. In some embodiments, audio stem database 104 stores audio stemsin an encoded format (e.g., .wav, .mp3, .m4a, .ogg, .wma, etc). In someembodiments, other audio stems are retrieved from other sources andstored in audio stem database 104.

In some embodiments, stem identification processor 102 is coupled to acomposition history metrics database 108.

Composition history metrics database 108 stores records associated withcomposers. Particularly composition history metrics database 108 storesrecords identifying attributes associated with a composition historymetrics of a composer. For example, composition history metrics database108 can be configured to store records identifying the types of sounds,rhythmic patterns, harmonies, and the like, that a composer typicallyuses. In some embodiments, composition history metrics database 108stores rankings that are weighted by a set of composition metrics. Inone implementation, the composition metrics include data representingacoustic properties, sociometric ratings, uniqueness values, and thelike.

In some embodiments, a machine learning processor 402 is fed audio stemdata from audio stem database 104. In some embodiments, machine learningprocessor 402 is fed song data from song database 106. In someembodiments, machine learning processor 402 is fed user compositionhistory metrics data from composition history metrics database 108.

In some embodiments, machine learning processor 402 also receives rankedstems. The ranked stems can be determined by a stem ranking processor406 that is arranged to collect stems that have been used and ranked.The stems can be collected and ranked according to a stem rankingprocess described above.

In some embodiments, machine learning processor 402 also receives mediacontent item sociometric rankings (e.g., a measure of the sociometricranking values of a song). Quantitative sociometric values correspondingto a song can be calculated by a media content item sociometric rankingprocessor 408.

A method for identifying an audio stem according to one aspect includesstoring, on audio stem database 104, a plurality of audio stems t (t₁,t₂, . . . , t_(N)). In some example embodiments, the method includesstoring, on a song database, a plurality of songs S (S₁, . . . , S_(P))made with at least a subset of the plurality of the audio stems (t₁, . .. , t_(N)). The method includes receiving, by a stem processor 410, atleast partially composed song (S*) having a predetermined number ofpre-selected stems. The assembled group of stems are sometimes hereinreferred to as pre-selected group of stems, simply selected group ofstems, k selected audio stem(s), or t-selected (t-selected₁,t-selected₂, . . . , t-selected_(k), where k is an integer). The methodfurther includes producing a probability vector (or relevance value orranking) for each stem (t₁, t₂, . . . , t_(N)) to be complementary tothe at least partially composed song (S*).

In some embodiments, machine learning processor 402 is trained based onthe stem data, the song data, the sociometric status data of the song,and the stem ranking data. In some cases the machine learning processoris trained on the user composition history metrics data. The methodfurther includes predicting, by a stem processor using a trained machinelearning model generated by machine learning processor 402, at least onestem from the audio stem database 104 having a probability value above apredetermined threshold. The predetermined threshold defines whether theat least one stem is complementary to the predetermined number ofpreselected stems t-selected (t-selected₁, t-selected₂, . . . ,t-selected_(k)).

In some embodiments, the method includes training, using machinelearning processor 402, a machine learning model based on any one of (i)a measure of success of a stem, (ii) a rank order of sociometric statusvalues corresponding to a plurality of songs including at least thestem, (iii) a plurality of stems obtained from plural songs, or anycombination of (i), (ii) and (iii).

It would also be desirable to not limit queries and targets to stems andto be able to allow both queries and targets to be submixes (e.g.containing multiple instruments). For example, it would be useful to beenabled to use only the audio corresponding to a mixture (e.g.,everything except for vocals in one single audio file) to search for anaudio stem (e.g., vocals).

It would also be useful to be able to identify an accompaniment for agiven stem.

In addition, it would be useful to not require a list of individualstems from the query song.

Still further it would be useful to not require collaborative filteringand therefore, not require stems to be used in multiple songs.

In the following example implementation, audio similarity is moved toaudio “complementarity” by transforming the acoustic feature vectorspace into another space, where related stems and mixtures (those fromthe same song) are closely located.

In this example implementation, information about the sociometric statusvalue of a song is not needed or explained. In addition, stems areidentified by finding neighbors directly in a vector space referred toas a complementarity space. A complementarity space is a vector space inwhich the vectors representing stems which have been and/or could beused in the same media content item (e.g., song) are close together. Thecomplementarity space has a lower dimensionality than the original spacewhich allows the stem identification system to perform relatively fasterprocessing.

FIG. 5 illustrates an example stem identification system in accordancewith an embodiment of the present invention. As shown in FIG. 5, stemidentification system 500 includes a stem identifier 502 and a stemdatabase 504. Stem identifier 502 includes at least one processor and amemory storing instructions which when executed by the at least oneprocessor cause the at least one processor to receive a query via aquery input 506 of the stem identifier 502 and a target input type via atarget-type input 508 of the stem identifier 502, and provide stemidentifications 512 via an output 510 of the stem identifier 502.

In an example implementation, given a query containing one or more stemsthat do not contain any vocals (e.g., input audio containing audiocontent such as drums, guitars, etc.) and a target input audio type(e.g., vocals), the stem identification system 500 outputs stemidentifications. The stem identifications are selected from the pluralstems stored in stem database 504. In an example embodiment, the outputis in the form of an ordered list of stem identifications of stemsincluding vocals, referred to as vocal stems. In an example embodimentthe ordered pair of stem identifications includes a stem identifier(e.g., SID_1, SID_4, . . . , SID_10) and a corresponding likelihoodvalue 514 (e.g., from 0-1) corresponding to a probability a particularidentification is a match for a particular query and target input type.In an example embodiment, a likelihood value is obtained by firstcomputing the distance (D) in a space referred to herein as a“complementarity space” between a vector of the query and a vector ofeach of the stems in the stem database 504. Alternatively, a likelihoodvalue is obtained by first computing the distance (D) in thecomplementarity space between a vector of the query and the closestvector of each of the stems in the stem database 504. In turn, thisdistance is normalized as L=1−D/max_distance, where max_distancecorresponds to a maximum possible distance in a given space (e.g., an Ndimensional hypercube) using a given distance metric (e.g. Euclideandistance). In an example implementation an acoustic feature vector isgenerated for each stem in stem database 504. An acoustic feature vectordescribes acoustic and musical properties of a given recording. In someembodiments, an acoustic feature vector is created manually, by manuallyquantifying the amount of given properties, (e.g., vibrato, distortion,presence of vocoder, energy, valence, etc). In other embodiments, theacoustic feature vector is created automatically (which is the case inthe implementations described herein), (e.g., using an amplitude of thesignal, a time-frequency progression, or more complex features). Anexample of a more complex feature which is derived directly from theaudio signal is an intermediate layer embedding of a neural networktrained to predict latent factors used for media content itemrecommendation. It should be understood that other now known or futuremethods for determining an acoustic feature to generate acoustic featurevectors can be used and still be within the scope of the presentinvention. The acoustic feature vectors are in a first vector spacewhich is referred to sometimes as an original vector space.

In turn, the acoustic feature vectors are mapped to a second vectorspace having a lower dimension. A vector space having a lower dimensionis sometimes referred to as a reduced vector space.

Example Stem Identification System

“FIG. 6 illustrates a mapping of stems of songs in an original vectorspace into a second space (with reduced dimensionality) in accordancewith an example embodiment of the present invention. In the secondspace, the vectors representing stems that have been used in the samemedia content item (e.g., song) are mapped together. The second space isthe complementarity space. In this example, the complementarity space isa vector space in which the vectors representing stems which have beenand/or could be used in the same media content item (e.g., song) areclose together.

As described in more detail below in connection with FIG. 6, in anexample embodiment, a mapping function (f) is iteratively trained toreduce the distance between complementary stems or mixtures of stems(stems belonging to the same song), and to increase the distance ofnon-complementary stems. Consequently, as shown in FIG. 5, the vectorsrepresenting stems that have been used in the same media content itemare mapped close together.

It should be understood by those skilled in the art that FIG. 6 depictsa 2D representation of the multidimensional spaces for illustrativepurposes only.

Particularly, FIG. 6 shows the acoustic feature vectors representing thestems in stem database 504 in a so-called original vector space 602.FIG. 6 also shows a reduced vector space referred to herein as thesecond vector space 604 and a mapping of the stems in the originalvector space 602 into the second vector space 604. The squares inoriginal vector space 602 represent vectors of stems which are used inthe same song (e.g., bass, guitars, vocals, percussion). As shown inFIG. 6, the acoustic feature vectors (i.e., the squares) from the samesong in the original vector space 602 are far in the original vectorspace 602, but are closer together in the second vector space 604.

The distribution of vectors in the second vector space 604 is, in turn,used to identify items from the same songs, and/or items that arecomplementary. This can be achieved by training a mapping function usinga machine learning algorithm, such that complementary audio items arecloser in the second vector space 604 according to a given distancemetric. In this way, complementary items can be more easily identified.The lower dimensionality of the second vector space allows theidentification to be performed more efficiently (e.g., using lessprocessing energy and/or time).

FIG. 7 illustrates an example query and an identified stem in a reducedvector space in accordance with an example implementation. As shown inFIG. 7, given a query audio 702, a vector in the second vector space 604is obtained by mapping its acoustic feature vector. The closestcandidate in the second vector space 604 is determined, in someembodiments, based on distance. Once the closest candidate isdetermined, it is provided via the output 510 of the stem identifier asan identified stem 704. Those skilled in the art will recognize thatFIG. 7 depicts a 2D representation of the multidimensional space forillustrative purposes.

Thus, referring to both FIGS. 5 and 6, a query audio (e.g. song missingvocals) can be provided for the purpose of finding from the stemdatabase 504 a compatible stem (e.g. a compatible vocal track). Thecompatible stem is referred to as a target.

To constrain the identification to specific instruments, the databasecan be tagged with instrument types, which could be done both manuallyby the users who uploaded the sounds, or automatically (e.g., using aninstrument classifier trained on stems).

Example Stem Identification Process

A method for identifying at least one audio content item (e.g., at leastone audio stem) among a plurality of target audio content items (e.g.,at least one audio stem) will now be described. The method includesdetermining a target acoustic feature vector of each of the plurality oftarget audio content items in a first vector space and, in turn, mappingeach target acoustic feature vector from the first vector space to asecond vector space. In this example, the second vector space has alower dimension than the first vector space. The method also performsdetermining a query acoustic feature vector of a query audio contentitem in the second vector space, comparing the query acoustic featurevector and the plurality of target acoustic feature vectors in thesecond vector space, and identifying, based on the comparison, at leastone audio content item in the plurality of target audio content itemsthat is related to the query audio content item. Each audio content itemcomprises a subset of a plurality of music stems comprised in a musictrack.

In some embodiments, a distance between the acoustic feature vectors ofrelated audio content items is less in the second vector space than inthe first vector space. In some embodiments, mapping the target acousticfeature vectors includes using a mapping function determined using amachine learning algorithm as will be described below in more detail inconnection with FIGS. 8, 9 and 10.

The mapping function can be determined, for example, using a Siameseneural network.

The mapping function can be determined using at least two referenceacoustic feature vectors in the first vector space as inputs to themachine learning algorithm, wherein first and second reference acousticfeature vectors are determined from media content items from a firstmusic track.

The mapping function can also be determined iteratively, such that thedistance between the first and second reference acoustic feature vectorsin the second vector space is reduced at each iteration. The mappingfunction can be determined using a third reference acoustic featurevector as a further input to the machine learning algorithm, where thethird acoustic feature vector is determined from a media content itemnot from the first music track.

In some embodiments, the mapping function is determined iteratively,such that the distance between the first and third reference acousticfeature vectors in the second vector space is increased at eachiteration.

In some embodiments, comparing the acoustic feature vectors includesdetermining a distance between the query acoustic feature vector andeach target acoustic feature vector in the second vector space.

In some embodiments, identifying at least one audio content item in theplurality of target audio content items that is related to the queryaudio content item includes identifying the target acoustic featurevector having the smallest distance to the query acoustic feature vectorin the second vector space.

In some embodiments, a music stem represents at least one instrumentalor vocal stem of a music track.

The query audio content item can be a single stem (vocal orinstrumental). Alternatively, the query audio content item can be amixture of stems.

In some embodiments, target audio content items that are related to thequery audio content item are audio content items from the same musictrack as the query audio content item. In some embodiments, target audiocontent items that are related to the query audio content item are audiocontent items that are complementary to the query audio content item.

Example Architecture for Training a Stem Identification Model

FIGS. 8, 9 and 10 describe in more detail an example architecture fortraining a stem identification model in accordance with an embodiment ofthe present invention. Referring to FIGS. 6, 8, 9 and 10 generally, afunction (f) is learned with parameters θ to map an acoustic featurevector x in the original vector space 602 to a vector y in a lowerdimensional space, i.e., second vector space 604). For convenience, theoriginal vector space 602 is sometimes referred to as X space or firstvector space and the second vector space 604 is referred to as reducedvector space or Y space. As noted above, the second vector space 604 mayalso be referred to as a complementarity space.

In the second vector space 604, vectors corresponding to complementarystems are ideally closely located, and the vectors fromnon-complementary stems are ideally located further apart. The mappingfunction (f) (parametrized by θ) is iteratively trained to reduce thedistance between complementary stems or mixtures of stems (stemsbelonging to the same song), and to increase the distance ofnon-complementary stems. The values of the parameters θ to obtain thebest function approximation can be learned from data in one of severalways.

FIG. 8 depicts a block diagram of a network that performs the mappingbetween an input acoustic feature vector (x) in space X to the space Y,such that y=f(x). In this example, the function (f) is defined by afeedforward network, and is parametrized by a set of values θ. As shownin FIG. 8, the input acoustic feature vector (x) which typicallycorresponds to a given stem is depicted. The output acoustic featurevector y=f(x) is obtained by passing input acoustic feature vector (x)through the feedforward network.

FIG. 9 depicts a Siamese Network which is used to estimate suchparameters, according to an embodiment of the present invention. ASiamese network is an artificial neural network that uses the sameweights while working in tandem on two (or more) different input vectorsto compute the output vectors. In this example, a Siamese Network isused for estimating the set of parameters θ that define function f.

As described above with reference to FIG. 5, in some embodiments, a stemdatabase 504 is configured to store audio stems of songs. The stemdatabase 504 can also contain combinations of stems. In addition, thestem database can store additional metadata about songs. The data instem database 504 are used to train the network depicted in FIG. 8.Stems that belong to the same song are considered complementary of eachother. An assumption is made that any sum of a set of stems of a song isalso complementary with each of the remaining stems which form the song.This enables stem identification, for example when the query is a singleaudio file. For example, given a recording which contains allinstruments except a guitar, a network trained with this data can beused to find a complementary guitar stem. In some embodiments, such atrained network can also be used to find a complementary stem (orcomplementary mix of stems) for a single stem (e.g. vocals, guitars . .. ).

Referring again to FIG. 9, FIG. 9 illustrates an example mapping ofthree acoustic feature vectors. The acoustic feature vectors x (i.e.,the acoustic feature vectors associated with the audio files, e.g.,stems or a mixture of stems) are derived, in part, from the stems storedin stem database 504. As shown in FIG. 9, training the network involvesthree acoustic feature vectors: x_(A) (an anchor) and x₊ (a positiveexample) and x⁻ (a negative example). A positive example x₊ correspondsto the acoustic feature vector of a stem (or a mixture of stems) whichis used in the same song as the anchor stem, whose acoustic featurevector is x_(A).

After some layers of a feedforward network, a Hyperbolic tangentfunction TANH(x) is applied, and the mapping of each of the threeadditional vectors: y_(A) (an anchor) and y₊ (a positive example) and y⁻(a negative example) is obtained. In this example, y_(A) and y₊ areclose in the space since they belong to the same song, and y_(A) and y⁻are far apart since they belong to different songs.

FIG. 10 illustrates how parameters θ of a network are learned using aloss function (L) in accordance with an example embodiment of thepresent invention. A loss function or cost function is a function thatmaps an event or values of one or more variables onto a real numberintuitively representing some “cost” associated with the event. Anoptimization problem seeks to minimize a loss function. In some exampleembodiments, parameters θ of the network are learned usingbackpropagation with mini-batch gradient descent, using a loss functioncomputed according to the following equation (4):

$\begin{matrix}{{L = {\max( {0,{M + {D( {y_{A},y_{-}} )} - {D( {y_{A},y_{-}} )}}} )}},} & (4)\end{matrix}$

where D(x,y) represents a Euclidean distance between vectors x and y,and M, a margin value, for example, where M=0.3.

In some embodiments, the vectors in Y space can be precomputed for thewhole database of stems. In turn, the vector y is computed for a queryaudio and neighbors in the Y space are located using, e.g., Euclideandistance.

A practical application of embodiments described herein includeidentifying audio stems for the purpose of assembling them. Theassembled plurality of audio stems can result in media content that canbe played via a playback device. In some embodiments, the media contentis in the form of a media content item in the form of a file that can bestreamed, saved, mixed with other media content items, and the like.

Not all of the components are required to practice the invention, andvariations in the arrangement and type of the components may be madewithout departing from the spirit or scope of the invention. As usedherein, the term “component” is applied to describe a specific structurefor performing specific associated functions, such as a special purposecomputer as programmed to perform algorithms (e.g., processes) disclosedherein. The component can take any of a variety of structural forms,including: instructions executable to perform algorithms to achieve adesired result, one or more processors (e.g., virtual or physicalprocessors) executing instructions to perform algorithms to achieve adesired result, or one or more devices operating to perform algorithmsto achieve a desired result.

While various example embodiments of the present invention have beendescribed above, it should be understood that they have been presentedby way of example, and not limitation. It will be apparent to personsskilled in the relevant art(s) that various changes in form and detailcan be made therein. Thus, the present invention should not be limitedby any of the above described example embodiments, but should be definedonly in accordance with the following claims and their equivalents.

The example embodiments described herein may be implemented usinghardware, software or a combination thereof and may be implemented inone or more computer systems or other processing systems. However, themanipulations performed by these example embodiments were often referredto in terms, such as entering, which are commonly associated with mentaloperations performed by a human operator. No such capability of a humanoperator is necessary, in any of the operations described herein.Rather, the operations may be completely implemented with machineoperations. Useful machines for performing the operation of the exampleembodiments presented herein include general purpose digital computersor similar devices.

From a hardware standpoint, a CPU typically includes one or morecomponents, such as one or more microprocessors, for performing thearithmetic and/or logical operations required for program execution, andstorage media, such as one or more disk drives or memory cards (e.g.,flash memory) for program and data storage, and a random access memory,for temporary data and program instruction storage. From a softwarestandpoint, a CPU typically includes software resident on a storagemedia (e.g., a disk drive or memory card), which, when executed, directsthe CPU in performing transmission and reception functions. The CPUsoftware may run on an operating system stored on the storage media,such as, for example, UNIX or Windows (e.g., NT, XP, Vista), Linux, andthe like, and can adhere to various protocols such as the Ethernet, ATM,TCP/IP protocols and/or other connection or connectionless protocols. Asis well known in the art, CPUs can run different operating systems, andcan contain different types of software, each type devoted to adifferent function, such as handling and managing data/information froma particular source, or transforming data/information from one formatinto another format. It should thus be clear that the embodimentsdescribed herein are not to be construed as being limited for use withany particular type of server computer, and that any other suitable typeof device for facilitating the exchange and storage of information maybe employed instead.

A CPU may be a single CPU, or may include plural separate CPUs, whereineach is dedicated to a separate application, such as, for example, adata application, a voice application, and a video application. Softwareembodiments of the example embodiments presented herein may be providedas a computer program product, or software, that may include an articleof manufacture on a machine accessible or non-transitorycomputer-readable medium (i.e., also referred to as “machine readablemedium”) having instructions. The instructions on the machine accessibleor machine readable medium may be used to program a computer system orother electronic device. The machine-readable medium may include, but isnot limited to, floppy diskettes, optical disks, CD-ROMs, andmagneto-optical disks or other type of media/machine-readable mediumsuitable for storing or transmitting electronic instructions. Thetechniques described herein are not limited to any particular softwareconfiguration. They may find applicability in any computing orprocessing environment. The terms “machine accessible medium”, “machinereadable medium” and “computer-readable medium” used herein shallinclude any non-transitory medium that is capable of storing, encoding,or transmitting a sequence of instructions for execution by the machine(e.g., a CPU or other type of processing device) and that cause themachine to perform any one of the methods described herein. Furthermore,it is common in the art to speak of software, in one form or another(e.g., program, procedure, process, service, application, module, unit,logic, and so on) as taking an action or causing a result. Suchexpressions are merely a shorthand way of stating that the execution ofthe software by a processing system causes the processor to perform anaction to produce a result.

Various operations and processes described herein can be performed bythe cooperation of two or more devices, systems, processes, orcombinations thereof.

While various example embodiments of the invention have been describedabove, it should be understood that they have been presented by way ofexample, and not limitation. It is apparent to persons skilled in therelevant art(s) that various changes in form and detail can be madetherein. Thus, the disclosure should not be limited by any of the abovedescribed example embodiments, but should be defined only in accordancewith the following claims and their equivalents. Further, the Abstractis not intended to be limiting as to the scope of the exampleembodiments presented herein in any way. It is also to be understoodthat the procedures recited in the claims need not be performed in theorder presented.

1.-15. (canceled)
 16. A stem identifier, comprising: at least oneprocessor; at least one memory storing instructions which when executedby the at least one processor cause the at least one processor to:receive a query vector corresponding to a query stem; compare the queryvector and a plurality of target vectors in a vector space, each of theplurality of target vectors corresponding to a plurality of stems; andoutput, based on the comparison, a plurality of stem identifications.17. The stem identifier according to claim 16, wherein the at least onememory further stores instructions which when executed by the at leastone processor cause the at least one processor to: receive a targetinput audio type; and generate an ordered list of stem identifications,each stem identification including a stem identifier and a correspondinglikelihood value indicating a probability a stem corresponding to thestem identifier is a match for the query stem and the target input type,wherein the ordered list of stem identifications is the plurality ofstem identifications.
 18. The stem identifier according to claim 16,wherein the at least one memory further stores instructions which whenexecuted by the at least one processor cause the at least one processorto: obtain the corresponding likelihood value by computing each distancebetween the query vector and each vector in the vector space.
 19. Thestem identifier according to claim 18, wherein the at least one memoryfurther stores instructions which when executed by the at least oneprocessor cause the at least one processor to: determine a predeterminednumber of vectors in the vector space closest to the query vector basedon each computed distance.
 20. The stem identifier according to claim19, wherein the at least one memory further stores instructions whichwhen executed by the at least one processor cause the at least oneprocessor to: normalize the distance as: 1−distance(D)/max_distance,where max_distance corresponds to a maximum possible distance in a givenspace using a given distance metric.
 21. The stem identifier accordingto claim 20, wherein the given space is an N-dimensional hypercube andthe distance metric is a Euclidean distance, wherein N is an integer.22. The stem identifier according to claim 16, wherein the at least onememory further stores instructions which when executed by the at leastone processor cause the at least one processor to: iteratively train amapping function to reduce a distance between a plurality ofcomplementary stems and to increase a distance of non-complementarystems.
 23. The stem identifier of claim 16, wherein the query stemrepresents an instrumental stem or a vocal stem.
 24. A method ofidentifying audio stems, comprising: receiving a query vectorcorresponding to a query stem; comparing the query vector and aplurality of target vectors in a vector space, each of the plurality oftarget vectors corresponding to a plurality of stems; and outputting,based on the comparison, a plurality of stem identifications.
 25. Themethod according to claim 24, further comprising: receiving a targetinput audio type; and generating an ordered list of stemidentifications, each stem identification including a stem identifierand a corresponding likelihood value indicating a probability a stemcorresponding to the stem identifier is a match for the query stem andthe target input type, wherein the ordered list of stem identificationsis the plurality of stem identifications.
 26. The method according toclaim 24, further comprising: obtaining the corresponding likelihoodvalue includes: computing each distance between the query vector andeach vector in the vector space.
 27. The method according to claim 26,further comprising: determining a predetermined number of vectors in thevector space closest to the query vector based on each computeddistance.
 28. The method according to claim 27, further comprising:normalizing the distance as: 1−distance(D)/max_distance, wheremax_distance corresponds to a maximum possible distance in a given spaceusing a given distance metric.
 29. The method according to claim 28,wherein the given space is an N-dimensional hypercube and the distancemetric is a Euclidean distance, wherein N is an integer.
 30. The methodaccording to claim 24, further comprising: iteratively training amapping function to reduce a distance between a plurality ofcomplementary stems and to increase a distance of non-complementarystems.
 31. The method of claim 24, wherein the query stem represents aninstrumental stem or a vocal stem.